/*
2022-2-27
https://www.acwing.com/problem/content/4308/
*/
#include<cstring>
#include<iostream>
#include<algorithm>

using namespace std;
bool st[1010];

int main()
{
    int n;
    string ans="";
    cin>>n;
    st[1]=true;
    int a=1,b=1;
    while(a+b<=1000)
    {
        st[a+b]=true;
        int c=a;
        a=b,b+=c;
    }
    for(int i=1;i<=n;i++)
    {
        if(st[i]) ans+="O";
        else ans+="o";
    }
    cout<<ans<<endl;
    return 0;
}
